Add heuristic for primary monitor
authorFlorian Scandella <flo@chilicode.com>
Fri, 9 Apr 2010 15:22:51 +0000 (17:22 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Fri, 23 Apr 2010 21:42:02 +0000 (23:42 +0200)
commit53fae3247c2d283d45a0ecbad0425331b072983a
tree6fce2f7174aa1a914fdd6b179cff2d89529d9559
parent093722fcc8df2c495b02731cd398dbe5e56d258d
Add heuristic for primary monitor

Use the first monitor returned by RANDR as primary, if primary
is not set and no LVDS is found.

https://bugzilla.gnome.org/show_bug.cgi?id=615128
gdk/x11/gdkscreen-x11.c